Finding DU-Paths for Testing of Multi-Tasking Real-Time Systems using WCET Analysis
نویسندگان
چکیده
Memory corruption is one of the most common software failures. For sequential software and multitasking software with synchronized data accesses, it has been shown that program faults causing memory corruption can be detected by analyzing the relations between defines and uses of variables (DU-based testing). However, such methods are insufficient in preemptive systems, since they lack the ability to detect inter-task shared variable dependencies. In this paper, we propose the use of a system level shared variable DU analysis of preemptive multi-tasking real-time software. By deriving temporal attributes of each access to shared data using WCET analysis, and combining this information with the real-time schedule information, our method also detects inter-task shared variable dependencies. The paper also describes how we extended the SWEET tool to derive these temporal attributes.
منابع مشابه
Analysis of Execution Behavior for Testing of Multi-Tasking Real-Time Systems
An important issue in software testing is the ability to observe the execution of the software; this is especially true for real-time systems (RTS). RTS are difficult to observe, and the ability to test RTS is inherently low. Embedded RTS have few interfaces for observation and the execution of multi-tasking RTS is usually non-deterministic. As a consequence, testing of RTS cannot be exercised ...
متن کاملChallenges of WCET Analysis in COTS Multi-core due to Different Levels of Abstraction
The continuous demand of producing low cost multi-core hardware for safety critical hard real time applications has driven attempts of using Commercial Off The Shelf (COTS) components. Prior to the industrial deployment, Worst Case Execution Time (WCET) of these applications must be estimated on underlying hardware. However, even simple COTS components exhibit unpredictability at very low level...
متن کاملWCET analysis and optimization for multi-core real-time systems
During the design of safety-critical real-time systems, developers must be able to verify that a system shows a timely reaction to external events. To achieve this, the Worst-Case Execution Time (WCET) of each task in such a system must be determined. The WCET is used in the schedulability analysis in order to verify that all tasks will meet their deadlines and to verify the overall timing of t...
متن کاملWorst - Case Timing Analysis of the Rtems Real - Time Operating System Antoine Colin , Isabelle Puaut
Knowing tasks worst-case execution times (WCET) is crucial in systems with hard real-time constraints, in which missing a deadline can have catastrophic consequences. Worst-case execution time analysis (WCET analysis), thanks to the analysis of a piece of code, returns an upper bound for the time required to execute it on a given hardware. Since real-time operating systems are used in many syst...
متن کاملSafe measurement-based WCET estimation
This paper explores the issues to be addressed to provide safe worst-case execution time (WCET) estimation methods based on measurements. We suggest to use structural testing for the exhaustive exploration of paths in a program. Since test data generation is in general too complex to be used in practice for most real-size programs, we propose to generate test data for program segments only, usi...
متن کامل